/**
 * @file
 * @author
 * @date
 * @brief 电池电量控制模块
 */
#ifndef BATTERY_CTRL_H_
#define BATTERY_CTRL_H_
#include "stdint.h"
#include "stdbool.h"

void battery_ctrl_init(void);
void battery_ctrl_drv_handle(void);

uint8_t battery_ctrl_get_percent(void);
bool battery_ctrl_if_charging(void);
bool battery_ctrl_if_charging_full(void);
bool battery_ctrl_if_lowpower(void);

bool m_high_priority_occupy(void);
int battery_ctrl_get_level(int percent);
#endif
